package com.woniu.supermarket.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.woniu.supermarket.entity.PromotionDetail;
import com.woniu.supermarket.entity.Shop;
import com.woniu.supermarket.entity.Type;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@ToString
@ApiModel(description = "封装促销的数据")
@JsonIgnoreProperties(value = {"handler"})
public class PromotionVo {

    private Integer id;

    private String promotionNumber;

    private Type promotionType;

    private Shop promotionShop;

    private Date promotionStartTime;

    private Date promotionEndTime;

    private String promotionTime;

    private String promotionStaff;

    private Date promotionCheckDate;

    private Integer promotionStatus;

    private Integer status;

    private List<PromotionDetailVo> PromotionDetailVoList;

}
